package com.elegant.code.design.machine;

import lombok.AllArgsConstructor;
import lombok.Getter;

@AllArgsConstructor
@Getter
public enum OrderEvent {
    GENERATE_BY_CUSTOMERS(11, "客服下单"),
    GENERATE_BY_CDMAPP(12, "慢病App下单"),
    GENERATE_BY_HEALTHAPP(13, "健康到家公众号下单"),
    AUDIT_PASS_BY_CDM(21, "门特审核通过"),
    AUDIT_REFUSE_BY_CDM(22, "门特审核拒绝"),
    DISPATCH_ID(31, "匹配批号"),
    AUDIT_PASS_BY_SOCIAL(41, "社保局审核通过"),
    AUDIT_REFUSE_BY_SOCIAL(42, "社保局审核拒绝"),
    SEND_OMS(51, "下发OMS"),
    SEND_GOODS(61, "发货"),
    ABOLISH_BY_CUSTOMERS(-11, "客服废单"),
    CANCEL_BY_CUSTOMERS(-21, "未发货取消");

    private Integer flag;
    private String value;
}
